﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;
namespace SanJ.FreeCare.ChargeItemDefinitions
{
    public class ChargeItemDefinition : AuditedAggregateRoot<Guid>, IMultiTenant, ISoftDelete
    {
        /// <summary>
        /// 版本
        /// </summary>
        public string Version { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 从Uri导出
        /// </summary>
        public string DerivedFromUri { get; set; }
        public List<ChargeItemDefinitionRelation> Relations { get; set; }
        /// <summary>
        /// 身份
        /// </summary>
        public string Status { get; set; }
        /// <summary>
        /// 实验
        /// </summary>
        public bool Experimental {  get; set; }
        /// <summary>
        /// 日期
        /// </summary>
        public DateTime Date{ get; set; }
        /// <summary>
        /// 账户
        /// </summary>
        public Guid AccountId { get; set; }
        /// <summary>
        /// 出版商
        /// </summary>
        public string Publisher { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string Contact { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 应用环境（上下文）
        /// </summary>
        public string UseContext { get; set; }
        /// <summary>
        /// 管辖权条款
        /// </summary>
        public string Jurisdiction { get; set; }
        /// <summary>
        /// 批准日期
        /// </summary>
        public DateTime ApprovalDate { get; set; }
        /// <summary>
        /// 上次审阅日期
        /// </summary>
        public DateTime LastReviewDate { get; set; }
        /// <summary>
        /// 编码
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// (Medication | Substance | Device | DeviceDefinition
        /// | ActivityDefinition | PlanDefinition | HealthcareService)
        /// </summary>
        public string InstanceType { get; set; }
        /// <summary>
        /// id
        /// </summary>
        public Guid InstanceId { get; set; }
        /// <summary>
        /// 价格 单位 元
        /// </summary>
        public double Price { get; set; }
        public Guid? TenantId { get; set; }

        public bool IsDeleted { get; set; }
    }
}
